package com.itheima.kejianxing;

public class XiaoPi extends Thread {

    @Override
    public void run() {
       // for (int i = 0; i < 10; i++) {
           // synchronized (Money.obj) {
                try {
                    Thread.sleep(100);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                System.out.println("拿着1w冲皮肤了");
                Money.money=Money.money-10000;

            //}
       // }

    }
}
